#ifndef __RT_LGG_PRINTF_H__
#define __RT_LGG_PRINTF_H__

#include <rtthread.h>

#ifdef __cplusplus
extern "C" {
#endif



void InitUSART0(void);
void InitUSART1(void);

void write_char_USART0(unsigned char);
unsigned char read_char_USART0(void);
void write_char_USART1(unsigned char);
unsigned char read_char_USART1(void);

void write_str_USART0(const char* buff);
void write_str_USART1(unsigned char* buff);

unsigned char read_char_USART0_nonstop(void);
unsigned char read_char_USART1_nonstop(void);


   



#ifdef __cplusplus
}
#endif

#endif

